package org.devocean.groupbuying.service;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

import org.devocean.groupbuying.domain.Box;


public interface BoxService {
	
	 List<Box> findBoxesEntries(int firstResult, int maxResults);
	 List<Box> findAllBoxes();
	 Box findBoxById(Integer id);
	 Box addOrUpdateBox(Box box);
	 void deleteBox(Integer id);
	 long countBoxes();
	 Map<String, Object> search(String searchText, ConcurrentHashMap<String, Object> searchResult);

}

